Renew OAuth token
This request is used to prolong your OAuth access token lifespan.
Request syntax
POST https://business.taxi.yandex.ru/api/oauth/refresh
🔴 We recommend using API 2.0. API 1.0 support will be discontinued in the future.
Request headers:
Authorization
OAuth access token. The steps to get a token are described in Getting started.
Response field description
Responses may contain the following fields:
| Field | Description | Format |
|---|---|---|
token_expires_at |
The renewed token expiration date. | String |
Request example
POST https://business.taxi.yandex.ru/api/oauth/refresh
...
Authorization: <OAuth token>
Response example
An example response to this request looks like this:
{
"token_expires_at": "2020-01-14T16:37:13+00:00",
}
Response codes
The response to this request may contain the following standard HTTP codes:
200: Request completed successfully.401: The client is not authorized.
Was the article helpful?
Previous
Next